/* ============================================================
   02-layout.css
   Thematisch aufgeteilt aus default.css + SiTTsBlazor.css
   ============================================================ */

/* ---- aus default.css ---- */

.main-sidebar-header {
    background-color: #fff;
}

.logo-container {
    background-image: url('/_content/SiClass/Images/logo_full_white.png');
    z-index: 0 !important;
}

.nav-small .mobile-big {
    display: none;
}

.nav-small .mobile-small {
    display: inline-block;
    width: 100%;
}

    .nav-small .mobile-small ul {
        padding: 0 !important;
    }

.nav-small .mobile-small .nav-link i {
    margin-right: 0 !important;
}

.nav-small .mobile-small .nav-link {
    padding-left: 0 !important;
    padding-right: 0 !important;
    text-align: center;
}

/*PB*/


.dash-content {
    width: 100%;
}

.nav-tab {
    padding: 1.25rem;
}

.nav-link2 {
    color: #000 !important;
}

.nav-link2 {
    display: block;
    padding: var(--bs-nav-link-padding-y) var(--bs-nav-link-padding-x);
    font-size: var(--bs-nav-link-font-size);
    font-weight: var(--bs-nav-link-font-weight);
    color: var(--bs-nav-link-color);
    text-decoration: none;
    background: 0 0;
    border-radius: 0.375rem;
    border: 0;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out;
}

    .nav-link2:hover {
        cursor: pointer;
    }

    .nav-link2.active {
        background-color: rgba(28, 48, 115);
        color: #fff !important;
    }

.nav-tab .badge {
    background-color: #009ee0a8;
}

.b-row {
    padding: .75rem;
}

    .b-row .badger {
        background-color: rgba(0,158,224,0.3);
        color: #009ee0;
        font-size: .85rem;
    }

    .b-row.offline {
        display: none;
    }
/*#region general*/
.dash-content {
    --sitts3-blue: hsl(198, 100%, 44%);
    --sitts3-gray: hsl(0, 0%, 94%);
    --sitts3-font-color: hsl(150, 1%, 30%);
    /*color: var(--sitts3-font-color);*/
}



.dash-content {
    /*   position: relative;*/
    width: 100%;
    display: flex;
    padding: 1.25rem;
    box-sizing: border-box;
    /*    background-color: #fff;*/
    border-radius: .5rem;
    border: 1px solid rgba(0,0,0,.125);
}

.sidebar-chapter .nav-link {
    text-overflow: ellipsis;
    overflow: hidden;
}




/* Tabs Style */
.nav-tab section {
    overflow-x:auto;
}

.b-row .badger {
    margin-left: 10px;
}

.logo-container {
    position: absolute;
    left: 300px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    width: 300px;
    height: 150px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.sub-panels,
.sub-panel-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    min-width: 330px;
}

.sub-panels {
    width: 50%;
    align-items: flex-start;
}

.sub-panels-title {
    font-size: .75rem;
    color: #8c9097;
    box-sizing: border-box;
    margin-top: 15px;
    width: 100%;
    border-top: 1px solid #f3f3f3;
    margin-bottom: 2px;
    padding-top: 10px;
}

.sub-panels input {
    padding: .26rem .5rem;
    border: 1px solid #ccc;
    border-radius: .25rem;
    background-color: #fff;
    width: 100%;
    margin: 4px;
    text-align: right;
    min-width: 200px;
    margin-left: 0;
    margin-right: 0;
    width: auto;
    color: #4B5675;
}

.sub-panels .subpanel-activity {
    min-width: 370px;
}

.sub-panels .dropdown {
    min-width: 200px;
    width: auto;
    margin-left: 0;
    margin-right: 0;
}

    .sub-panels .dropdown input {
        margin-left: 0;
        margin-right: 0;
    }


.nav-slider-container {
    position: relative;
    width: 100%;
    height: 110px; /* Höhe deiner Boxen */
    overflow: hidden;
}

.nav-slider-item {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
    z-index: 0;
}

    .nav-slider-item.nav-active {
        transform: translateX(0);
        opacity: 1;
        z-index: 1;
    }

    .nav-slider-item.nav-exit-left {
        transform: translateX(-100%);
        opacity: 0;
        z-index: 0;
    }

/* Rechte Seite: weitere Videos */
.side-section {
    flex: 1.2;
    min-width: 250px;
}

    .side-section ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .side-section li {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        margin-bottom: 1rem;
        cursor: pointer;
        transition: background-color 0.2s ease;
        padding: 0.5rem;
        border-radius: 6px;
    }

        .side-section li:hover {
            background-color: #f0f0f0;
        }

    .side-section img {
        width: 100px;
        height: 60px;
        object-fit: cover;
        border-radius: 4px;
    }

/* Sidebar muss höher liegen */
.sidebar,
.side-menu,
.main-sidebar {
    z-index: 100;
    position: relative;
}
/*AufgabenTracker Misc*/




.sidebar {
    width: 15rem;
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    transition: all 50ms ease;
    z-index: 103;
    background-color: #111c43;
    color: #ffffff;
    font-family: Calibri;
    transition: all .2s ease;
}

.sidebar-inner {
    position: relative;
    height: 100%;
}

.sidebar-info {
    position: absolute;
    bottom: .3rem;
    left: 1.400rem;
    right: 1.400rem;
    font-size: 10px;
    opacity: 0.5;
}

.sidebar-chapter {
    margin: 0;
    padding: 0 .75rem;
}

    .sidebar-chapter ul {
        padding: 0;
        margin: 0;
        color: #a3aed1;
        white-space: nowrap;
        position: relative;
        padding: .75rem;
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
    }

    .sidebar-chapter li {
        list-style-type: none;
        padding: 0;
        margin: 0;
        position: relative;
        display: flex;
        align-items: center;
        text-decoration: none;
        font-size: .78rem;
        color: #a3aed1;
        font-weight: 500;
        border-radius: .5rem;
    }

.nav-link:hover,
.chapter-headline:hover {
    background-color: rgba(255,255,255,.05);
    border-radius: 10px;
    color: #fff;
}

.nav-brand {
    height: 3.75rem;
    width: 15rem;
}

    .nav-brand img {
        height: 3rem;
    }

.main-sidebar-header {
    height: 3.75rem;
    width: 15rem;
    display: flex;
    z-index: 9;
    align-items: center;
    justify-content: center;
    padding: .813rem 1.25rem;
    border-inline-end: 1px solid rgba(255,255,255,0.1);
    border-block-end: 1px solid rgba(255,255,255,0.1);
    transition: all 50ms ease;
    box-sizing: border-box;
    transition: all .2s ease;
}

.main-link {
    color: #a3aed1;
    font-size: .85rem;
    white-space: nowrap;
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    width: 100%;
    text-decoration: none;
    padding: .75rem;
}

    .main-link i {
        display: flex;
        align-items: center;
    }

.nav-link {
    text-decoration: none;
    color: #a3aed1;
    padding: .45rem 1.6rem;
    width: 100%;
}

    .nav-link i {
        margin-right: .625rem;
    }

.nav-small {
    width: 5rem;
    transition: all .2s ease;
    overflow: hidden;
}

/*    .nav-small ~ main-content {
        margin-left: 5rem !important;
        transition: all .2s ease;
    }*/

/*Geändert weil sidbar nicht einklappt*/

    .nav-small ~ .main-content {
        margin-left: 5rem !important;
    }

    .nav-small .main-sidebar-header {
        width: 5rem;
        transition: all .2s ease;
    }

.nav-brand .img-small {
    display: none;
}

.nav-brand .img-big {
    display: block;
}

.nav-small .nav-brand .img-big {
    display: none;
}

.nav-small .nav-brand .img-small {
    display: block;
}

/* ---- aus SiTTsBlazor.css ---- */
/*Datei B*/

.dash-content {
    overflow-x: unset !important;
    overflow-y: unset !important;
}
.nav-link{
    padding:.45rem .8rem !important;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.b-row{
    padding:0 !important;
}
.nav-tab + .content-wrap .view-header-v2 {
    border-top: 0;
}
